@charset "utf-8";
/**
 * Created by kroyo on 2018/03/22
 * datalist  数据列表公共样式
 */


@import 'common/mixincommon';


.btn{
    width: auto;
    min-width: 100px;
    padding: 0 12px;
}


.main-right{
    padding: 0;
    .contentbg{
        padding: 30px;
    }
}



//顶部
.article-header{
    margin-bottom: 20px;
    //tab-nav
    .header-top{
        position: relative;
        border-bottom: 1px solid $se;
        .btn{
            position: absolute;
            top: -6px;
            right: 0;
        }
        p{
            line-height: 20px;
            color: $s3;
            font-size: 18px;
            margin-top: 10px;
            margin-bottom: 20px;
        }
    }
    //搜索栏
    .search-top{
        font-size: 0;
        margin-top: 20px;
        .setbtn{
            display: inline-block;
            line-height: 30px;
            color: $s6;
            font-size: 12px;
            margin-left: 20px;
            vertical-align: middle;
            cursor: pointer;
            &:after{
                display: inline-block;
                content: '';
                width: 16px;
                height: 12px;
                font-size: 8px;
                background: url(../img/icon-down.png) no-repeat center;
                margin-left: 2px;
                vertical-align: middle;
                @include transformt(rotate(180deg));
                @include transitions(.4s);
            }
            &:hover{
                color: $acolor;
            }
        }
        .setbtn.active{
            &:after{
                @include transformt(rotate(0));
            }
        }
    }
    .search-bottom{
        margin-top: 30px;
    }
    .input-wrapper{
        display: inline-block;
        height: 30px;
        font-size: 0;
        input{
            width: 300px;
            height: 30px;
            border: 1px solid $borcolor;
            border-right: none;
            @include borradius(4px 0 0 4px);
            font-size: 12px;
            padding-left: 10px;
            padding-right: 10px;
            vertical-align: middle;
        }
        .btn{
            width: 70px;
            font-size: 12px;
            border: none;
            line-height: 30px;
            @include borradius(0 4px 4px 0);
            vertical-align: middle;
        }
    }
    //
    .tran-wrapper{
        position: relative;
        display: inline-block;
        font-size: 0;
        margin-right: 35px;
        &:last-of-type{
            margin-right: 0;
        }
        .text{
            font-size: 12px;
            color: $s3;
        }
        .select{
            display: inline-block;
            width: 150px;
            height: 30px;
            margin-left: 12px;
            cursor: pointer;
            .seloff{
                top: 12px;
            }
        }
        .inputtext{
            width: 100%;
            height: 100%;
            border: 1px solid $borcolor;
            @include borradius(4px);
            font-size: 12px;
            color: $s6;
            padding-left: 10px;
            padding-right: 10px;
            cursor: pointer;
        }
        .select_list{
            width: 150px;
            top: 32px;
            left: 60px;
        }
        .li{
            height: 30px;
            line-height: 30px;
        }
    }
}
.order-header{
    .tran-wrapper{
        margin-right: 30px;
        .select{
            margin-left: 10px;
        }
    }
}


//数据列表
.datalist{
    .list-item{
        width: 100%;
        border: 1px solid $borcolor;
        @include borradius(4px);
        margin-bottom: 20px;
        &:hover{
            .dlink{
                color: $acolor;
            }
        }
        &:last-of-type{
            margin-bottom: 0;
        }
        &>div{
            padding-left: 30px;
            padding-right: 30px;
        }
    }
    .item-header{
        padding-top: 30px;
        padding-bottom: 20px;
        .item-title{
            @include textoverflow;
        }
        .dlink{
            color: $s3;
            font-size: 16px;
            text-decoration: underline;
            @include transitions(.4s);
        }
        .item-text{
            line-height: 14px;
            color: $s9;
            font-size: 14px;
            margin-top: 20px;
            margin-bottom: 20px;
            span{
                margin-right: 25px;
                &:last-of-type{
                    margin-right: 0;
                }
            }
        }
        .item-label{
            span{
                display: inline-block;
                height: 28px;
                line-height: 26px;
                color: $s6;
                font-size: 12px;
                border: 1px solid $borcolor;
                @include borradius(14px);
                padding-left: 10px;
                padding-right: 10px;
                margin-right: 20px;
                &:last-of-type{
                    margin-right: 0;
                }
            }
        }
    }
    .item-bottom{
        font-size: 0;
        padding-top: 20px;
        padding-bottom: 20px;
        border-top: 1px solid $borcolor;
        .icon{
            display: inline-block;
            width: 40px;
            height: 40px;
            @include borradius(50%);
            background-image: url(../img/infor/icon-list.png);
            margin-right: 20px;
            vertical-align: middle;            
        }
        .text{
            display: inline-block;
            max-width: 330px;
            vertical-align: middle;
            a{
                color: $acolor;
            }
            span{
                color: $s9;
                font-size: 12px;
            }
            p{
                color: $acolor;
                font-size: 14px;
            }
        }
        .btn-list{
            float: right;
            font-size: 0;
            margin-top: 5px;
            .btn{
                margin-left: 20px;
            }
            span{
                display: inline-block;
                width: auto;
                line-height: 30px;
                color: $s6;
                font-size: 12px;
            }
            .timer{
                color: $red;
            }
        }
    }
    //外观
    .item-apper{
        .icon{
            color: $acolor;
            line-height: 38px;
            font-size: 14px;
            border: 1px solid $acolor;
            background-image: none;
            text-align: center;
        }
    }
    //结构
    .item-structure{
        .icon{
            color: $yelow;
            line-height: 38px;
            font-size: 14px;
            border: 1px solid $yelow;
            background-image: none;
            text-align: center;
        }
        .text{
            p{
                color: $yelow;
            }
        }
    }
}




//无数据 显示视图
.nodata-view{
    height: 500px;
    background:url(../img/list/nodata.jpg) no-repeat center;
}






//分页列表
.pagenation-wrapper{
    p.pagination,div.pagination,input{
        display: none;
    }
    .list-page{
        margin-top: 0;
    }
}
